class MyArray<T,K,V>{
    public K[] array = (K[])new Object[10];
    public K getPos(int pos) {
        return this.array[pos];
    }
    public void setVal(int pos,K val) {
        this.array[pos] = val;
    }
}
public class Test {
    public static void main(String[] args) {
        MyArray<Integer,String,Double> myArray=new MyArray<Integer,String,Double>();
        myArray.setVal(0,"wzj");
    }
}
